package cn.wubo.dataway.demo;

import net.hasor.spring.boot.EnableHasor;
import net.hasor.spring.boot.EnableHasorWeb;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@EnableHasor()    // 在Spring 中启用 Hasor
//@EnableHasorWeb()// 将 hasor-web 配置到 Spring 环境中，Dataway 的 UI 是通过 hasor-web 提供服务。
@EnableHasorWeb(path = {"/api/*","/interface-ui/*"})// 整合swagger3，需要增加path = {"/api/*","/interface-ui/*"}
@SpringBootApplication
public class DatawaydemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(DatawaydemoApplication.class, args);
    }

}
